package edu.gdin.ecommerce.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * DicType entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "t_dic_type", catalog = "ecommerce")
public class DicType implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -6790401852507436187L;
	private String dicTypeId;
	private String name;
	private String typeDesc;

	// Constructors

	/** default constructor */
	public DicType() {
	}

	/** full constructor */
	public DicType(String dicTypeId, String name, String typeDesc) {
		this.dicTypeId = dicTypeId;
		this.name = name;
		this.typeDesc = typeDesc;
	}

	// Property accessors
	@Id
	@Column(name = "DIC_TYPE_ID", unique = true, nullable = false, length = 50)
	public String getDicTypeId() {
		return this.dicTypeId;
	}

	public void setDicTypeId(String dicTypeId) {
		this.dicTypeId = dicTypeId;
	}

	@Column(name = "NAME", nullable = false, length = 100)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "TYPE_DESC", length = 200)
	public String getTypeDesc() {
		return this.typeDesc;
	}

	public void setTypeDesc(String typeDesc) {
		this.typeDesc = typeDesc;
	}

}